package com.zelin.service;

import com.zelin.pojo.Student;
import com.zelin.util.PageResult;

import java.util.List;

/**
 * @Author: Feng.Wang
 * @Company: Zelin.ShenZhen
 * @Description:
 * @Date: Create in 2019/4/10 12:12
 */
public interface StudentService {

    public List<Student> findAll();

    PageResult<Student> findByPage(int page, int pagesize);

    PageResult<Student> search(int page, int pagesize, Student student);

    void add(Student student);

    void update(Student student);

    void delete(String sid);

    void batchDel(String[] ids);
}
